<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<div th:include="~{main/index :: nav}"></div>

<h3>成绩管理-成绩查询</h3>
<div>
    <table class="table table-hover table-striped  table-bordered"  width="90%" border="1" cellspacing="0">
        <tr>
            <th>成绩编号</th>
            <th>班级编号</th>
            <th>学号</th>
            <th>学生姓名</th>
            <th>课程编号</th>
            <th>课程名称</th>
            <th>分数</th>
            <th>录入时间</th>
        </tr>
        <tr th:each="m:${markInfos}" th:if="${markInfos != null}">
            <td><span th:text="${m.id}"></span></td>
            <td><span th:text="${m.sno}"></span></td>
            <td><span th:text="${m.sname}"></span></td>
            <td><span th:text="${m.clzno}"></span></td>
            <td><span th:text="${m.course.cno}"></span></td>
            <td><span th:text="${m.course.cname}"></span></td>
            <td><span th:text="${m.score}"></span></td>
            <td><span th:text="${m.tpost}"></span></td>
        </tr>
    </table>
</div>
<h3 style="color: red" th:if="${markInfos == null}">该学生无成绩信息</h3>

</body>
</html>